projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b3f4d4
)
Use description instead of shortnmae when -Sn.
author
robertl
<robertl>
Sun, 11 Oct 2009 01:50:09 +0000
(
01:50
+0000)
committer
robertl
<robertl>
Sun, 11 Oct 2009 01:50:09 +0000
(
01:50
+0000)
lmx.c
patch
|
blob
|
history
diff --git
a/lmx.c
b/lmx.c
index 69b041a16edcb1c9f61cb5cff74e3075c35e81f6..f40762b78b15f52174fed9a6e2b0837c53f84473 100644
(file)
--- a/
lmx.c
+++ b/
lmx.c
@@
-77,7
+77,7
@@
lmx_print(const waypoint *wpt)
{
gbfprintf(ofd, " <lm:landmark>\n");
if (wpt->shortname) {
- lmx_write_xml(4, "lm:name", wpt->shortname);
+ lmx_write_xml(4, "lm:name",
global_opts.synthesize_shortnames ? wpt->description :
wpt->shortname);
}
if (wpt->description) {
lmx_write_xml(4, "lm:description", wpt->description);